home *** CD-ROM | disk | FTP | other *** search
/ Startware 8 / startware 8.iso / data / Software / Internet / Explorer4 / SCRPTDBG.EXE / ScrptDbg.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-06-12  |  10.0 KB  |  292 lines

  1. ; ScrptDbg.inf
  2. ; Installation file for Microsoft Script Debugger.
  3.  
  4. ; Edit Log
  5. ; Date    Author    Change
  6. ; 05/15/97    v-joea    created file
  7. ; 05/19/97    v-joea    modified to match ACME setup
  8. ; 05/19/97    v-robfu    correct directory logic and registration code
  9. ; 05/20/97    v-joea    adding NT ATL code
  10. ; 05/21/97    v-robfu    Changed to RunPostSetupCommands for installation
  11. ; 05/29/97    v-robfu Worked on Uninstall and general bug fixes
  12. ; 06/02/97    v-robfu Removed .bmp files.  Rename a few files.  Fixed RunPreSetupCommands and uninstall.
  13. ; 06/04/97    v-robfu    Added ,,,32.  Fixed RegisterOCXs and UnRegisterOCXs.
  14. ; 06/06/97    v-robfu    Removed batch, this will allow us to drop for the first time.
  15.  
  16. [Version]
  17. Signature=$CHICAGO$
  18. AdvancedINF=2.5,"You need a newer version of Advpack.dll"
  19.  
  20. [SourceDisksNames]
  21. 1="%MSAppName%",,0
  22.  
  23. [DefaultInstall]
  24. Copyfiles = ScrptDbgINFCopy, ScrptDbgSampleCopy, ScrptDbgDocsCopy, ScrptDbgArtCopy, ScrptDbgCoreCopy, ScrptDbgSystemCopy, ScrptDbgATLCopy
  25. AddReg = ScrptDbgReg, ScrptDbgRegData, ScrptDbgRenameArt, ScrptDbgRenameSamples, ScrptDbgUninstallKey
  26. UpdateInis = AddLink
  27. RunPreSetupCommands = InstallCommand
  28. CustomDestination = SDbgDestination
  29. RegisterOCXs = ScrptDbgRegisterOCX
  30.  
  31. [DefaultInstall.NT]
  32. Copyfiles = ScrptDbgINFCopy, ScrptDbgSampleCopy, ScrptDbgDocsCopy, ScrptDbgArtCopy, ScrptDbgCoreCopy, ScrptDbgSystemCopy, ScrptDbgATLCopy.NT
  33. AddReg = ScrptDbgReg, ScrptDbgRegData, ScrptDbgRenameArt, ScrptDbgRenameSamples, ScrptDbgUninstallKey.NT
  34. UpdateInis = AddLinkNT
  35. RunPreSetupCommands = InstallCommand
  36. CustomDestination = SDbgDestination
  37. RegisterOCXs = ScrptDbgRegisterOCX
  38.  
  39. ; the following lines are used to trigger an uninstall action
  40.  
  41. [Uninstall]
  42. BeginPrompt=BeginPromptSection
  43. EndPrompt=EndPromptSection
  44. CustomDestination=UninstallDestination
  45. AddReg = ScrptDbgDeleteArt, ScrptDbgDeleteSamples
  46. DelFiles = ScrptDbgSampleCopy, ScrptDbgDocsCopy, ScrptDbgArtCopy, ScrptDbgCoreCopy
  47. DelReg = ScrptDbgRegUninstall, ScrptDbgRegData, ScrptDbgUninstallKey
  48. UnRegisterOCXs = RemoveRegisterOCX
  49. ;DelDirs=RemoveFolder
  50. RunPreSetupCommands=UnInstallCommand
  51. UpdateInis=RemoveLink
  52. SmartReboot=I
  53. Cleanup=1
  54.  
  55. [Uninstall.NT]
  56. BeginPrompt=BeginPromptSection
  57. EndPrompt=EndPromptSection
  58. CustomDestination=UninstallDestination
  59. AddReg = ScrptDbgDeleteArt, ScrptDbgDeleteSamples
  60. DelFiles = ScrptDbgSampleCopy, ScrptDbgDocsCopy, ScrptDbgArtCopy, ScrptDbgCoreCopy
  61. DelReg = ScrptDbgRegUninstall, ScrptDbgRegData, ScrptDbgUninstallKey
  62. UnRegisterOCXs = RemoveRegisterOCX
  63. ;DelDirs=RemoveFolder
  64. RunPreSetupCommands=UnInstallCommand.NT
  65. UpdateInis=RemoveLink
  66. SmartReboot=I
  67. Cleanup=1
  68.  
  69. [BeginPromptSection]
  70. Prompt=%BeginPrompt%
  71. ButtonType=YESNO
  72. Title=%AppName%
  73.  
  74. [EndPromptSection]
  75. Prompt=%EndPrompt%
  76.  
  77. [ScrptDbgINFCopy]
  78. ScrptDbg.inf,,,32
  79.  
  80. [ScrptDbgSampleCopy]
  81. ;these files are the sample files for caesars
  82. trans.htm,,,32
  83. candle.jpg,,,32
  84. cool.htm,,,32
  85. default.htm,,,32
  86. fball.jpg,,,32
  87. filters.htm,,,32
  88. home.htm,,,32
  89. index.htm,,,32
  90. peach.gif,,,32
  91. alpha.htm,,,32
  92.  
  93. [ScrptDbgRenameSamples]
  94. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG1,,,"%49102%\Samples"
  95. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG1,"trans.htm",,"transitions.htm"
  96. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG1,"cool.htm",,"coolEffect.htm"
  97. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG1,"peach.gif",,"shirt_pine_peach.gif"
  98.  
  99. [ScrptDbgDeleteSamples]
  100. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG1,,,"%49102%\Samples"
  101. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG1,"trans.htm",,"transitions.htm"
  102. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG1,"cool.htm",,"coolEffect.htm"
  103. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG1,"peach.gif",,"shirt_pine_peach.gif"
  104.  
  105. [ScrptDbgDocsCopy]
  106. ;this is the Caesar HTM docs file
  107. caesar.htm,,,32
  108.  
  109. [ScrptDbgArtCopy]
  110. ;these are the IVT art docs
  111. commwind.gif,,,32
  112. breakpnt.gif,,,32
  113. scrpterr.gif,,,32
  114. session.gif,,,32
  115. setpoint.gif,,,32
  116.  
  117. [ScrptDbgRenameArt]
  118. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG2,,,"%49102%\Docs\Art"
  119. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG2,"commwind.gif",,"MIED_DBG_command_window.gif"
  120. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG2,"breakpnt.gif",,"MIED_DBG_breakpoint.gif"
  121. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG2,"scrpterr.gif",,"MIED_DBG_script_error.gif"
  122. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG2,"session.gif",,"MIED_DBG_session.gif"
  123. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\SDBG2,"setpoint.gif",,"MIED_DBG_setpoint.gif"
  124.  
  125. [ScrptDbgDeleteArt]
  126. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG2,,,"%49102%\Docs\Art"
  127. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG2,"commwind.gif",,"MIED_DBG_command_window.gif"
  128. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG2,"breakpnt.gif",,"MIED_DBG_breakpoint.gif"
  129. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG2,"scrpterr.gif",,"MIED_DBG_script_error.gif"
  130. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG2,"session.gif",,"MIED_DBG_session.gif"
  131. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\SDBG2,"setpoint.gif",,"MIED_DBG_setpoint.gif"
  132.  
  133. ;[ScrptDbgIVTCopy]
  134. ;this is the IVT infoviewer file
  135. ;Msiede.ivt,,,32
  136.  
  137. ;[ScrptDbgIVTReg]
  138. ;HKLM,SOFTWARE\Microsoft\InfoViewer\5.0\Titles\msiede,,,"Internet Explorer Developers Edition"
  139. ;HKLM,SOFTWARE\Microsoft\InfoViewer\5.0\Titles\msiede,"Content",,"%49102%\msiede.ivt"
  140.  
  141. [ScrptDbgCoreCopy]
  142. ;these are the core script debugger files
  143. ReadMe.Htm,,,32
  144. msscrdbg.exe,,,32
  145. scrdbg.dll,,,32
  146. sdbgenu.dll,,,32
  147. comwin.dll,,,32
  148. srcedit.dll,,,32
  149. default.tct,,,32
  150. filesvc.dll,,,32
  151. htmlclr.dll,,,32
  152. textmgr.dll,,,32
  153. refcount.exe,,,32
  154.  
  155. ;[ScrptDbgCoreDelete]
  156. ;these are the core script debugger files
  157. ;ReadMe.Htm,,,32
  158. ;msscrdbg.exe,,,32
  159. ;scrdbg.dll,,,32
  160. ;sdbgenu.dll,,,32
  161. ;comwin.dll,,,32
  162. ;srcedit.dll,,,32
  163. ;default.tct,,,32
  164. ;filesvc.dll,,,32
  165. ;htmlclr.dll,,,32
  166. ;textmgr.dll,,,32
  167.  
  168. [ScrptDbgSystemCopy]
  169. ;these are system files required by Script Debugger
  170. ;ivtmon.dll    ;BUGBUG: this is a shared file and will need to be handled as a special case
  171. mdm.exe,,,32
  172. msdbg.dll,,,32
  173. pdm.dll,,,32
  174.  
  175. [ScrptDbgReg]
  176. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"msscrdbg.exe",,"%49102%\msscrdbg.exe /regserver"
  177. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"mdm.exe",,"%11%\mdm.exe /regserver"
  178. HKLM,SOFTWARE\Microsoft\ScrptDbg,InstallDir,,"%49002%\%ProductName%"
  179.  
  180. [ScrptDbgRegUninstall]
  181. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"msscrdbg.exe",,"%49102%\msscrdbg.exe /unregserver"
  182. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"mdm.exe",,"%11%\mdm.exe /unregserver"
  183. HKLM,SOFTWARE\Microsoft\ScrptDbg,InstallDir,,"%49002%\%ProductName%"
  184.  
  185. [ScrptDbgATLCopy]
  186. ;this is the ANSI version of ATL
  187. ATL.DLL, ansiatl.dll,,32
  188.  
  189. [ScrptDbgATLCopy.NT]
  190. ;this is the UNICODE version of ATL
  191. atl.dll, uatl.dll,,32
  192.  
  193. [SystemRegisterOCX]
  194. "%11%\msdbg.dll"
  195. "%11%\pdm.dll"
  196. "%11%\atl.dll"
  197.  
  198. [ScrptDbgRegisterOCX]
  199. "%11%\msdbg.dll"
  200. "%11%\pdm.dll"
  201. "%11%\atl.dll"
  202. "%49100%\scrdbg.dll"
  203. "%49100%\comwin.dll"
  204. "%49100%\srcedit.dll"
  205. "%49100%\filesvc.dll"
  206. "%49100%\htmlclr.dll"
  207. "%49100%\textmgr.dll"
  208.  
  209. [RemoveRegisterOCX]
  210. "%49100%\scrdbg.dll"
  211. "%49100%\comwin.dll"
  212. "%49100%\srcedit.dll"
  213. "%49100%\filesvc.dll"
  214. "%49100%\htmlclr.dll"
  215. "%49100%\textmgr.dll"
  216.  
  217. [AddLink]
  218. setup.ini, progman.groups,, "group0="%AppName%""          
  219. setup.ini, group0,, ""%AppName%""
  220. setup.ini, group0,, """%AppName%"",""%49102%\msscrdbg.exe"",,0,"
  221.  
  222. [AddLinkNT]
  223. setup.ini, progman.groups,, ""group0="%AppName%"""          
  224. setup.ini, group0,, """%AppName%"",""""""%49102%\msscrdbg.exe""""""
  225.  
  226. [RemoveLink]
  227. setup.ini, progman.groups,, ""group0=""            ;creates "null" folder
  228. setup.ini, group0,, """%AppName%"""        ;deletes previous link
  229.  
  230. [ScrptDbgRegData]
  231. HKCU,"Software\Microsoft\Script Debugger\HTML Editor\Toolbox Path","",,"%49102%\default.tct"
  232. HKCU,"Software\Microsoft\Script Debugger\HTML Editor","",,"CLSID:{DB89CFEC-79FB-11D0-8187-00A0C91BBEE3}"
  233.  
  234. [ScrptDbgUninstallKey] 
  235. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE4Dev","DisplayName",,"%MSAppName%"
  236. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE4Dev","UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %49100%\ScrptDbg.inf, Uninstall"
  237.  
  238. [ScrptDbgUninstallKey.NT] 
  239. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE4Dev","DisplayName",,"%MSAppName%"
  240. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE4Dev","UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %49100%\ScrptDbg.inf, Uninstall.NT"
  241.  
  242. [DestinationDirs]
  243. WindowsDir = 25    ; windows
  244. SystemDir = 11    ; windows\system
  245. ScrptDbgATLCopy = 11
  246. ScrptDbgATLCopy.NT = 11
  247. ScrptDbgSampleCopy = 49100,Samples
  248. ScrptDbgDocsCopy = 49100,Docs
  249. ScrptDbgArtCopy = 49100,Docs\Art
  250. ;ScrptDbgIVTCopy = 49100
  251. ScrptDbgCoreCopy = 49100
  252. ScrptDbgCoreDelete = 49100
  253. ScrptDbgSystemCopy = 11
  254. ScrptDbgINFCopy = 49100
  255.  
  256. [SDbgDestination]
  257. 49000,49001,49002,49003=PackageDestination49000,5
  258. 49100,49101,49102,49103=PackageDestination49100,1
  259.  
  260. [UninstallDestination]
  261. 49000,49001,49002,49003=PackageDestination49000,5
  262. 49100,49101,49102,49103=PackageDestination49100,5
  263.  
  264. [PackageDestination49000]
  265. "HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir",,"%24%\%PROGRAMS%"
  266.  
  267. [PackageDestination49100]
  268. HKLM,SOFTWARE\Microsoft\ScrptDbg,InstallDir,%InstallPrompt%,"%49001%\%ProductName%"
  269.  
  270. ;Currently not used
  271. ;[RemoveFolder]
  272. ;%49100%
  273.  
  274. [InstallCommand]
  275. "refcount.exe /i"
  276.  
  277. [UnInstallCommand]
  278. refcount.exe /u
  279.  
  280. [UnInstallCommand.NT]
  281. refcount.exe /u
  282.  
  283. [Strings]
  284. ; Strings to be localized
  285. MSAppName = "Microsoft Script Debugger"
  286. AppName="Script Debugger"
  287. BeginPrompt="Are you sure that you want to remove Script Debugger?"
  288. EndPrompt="Script Debugger was successfully removed."
  289. InstallPrompt="Where would you like to install Microsoft Script Debugger?"
  290. ProductName="Microsoft Script Debugger"
  291. PROGRAMS = "Progra~1" ; Should be "Program Files", but it fails to create link on NT.
  292.